﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="imagedisplay.aspx.cs" Inherits="imagedisplay" EnableViewState="false" %>
<!DOCTYPE html>
<html>
<head>
    <title>分享中心</title>

</head>
    
<body>
    <div>
      <section data-role="page" id="storeinquiry_main">
            <div data-role="collapsible-set" id="storeinquiry_content">
                <asp:Repeater runat="server" ID="rptShopList">
                    <ItemTemplate>
                        <div data-role="collapsible">
                            <h3>
                                <div class="businessleft"></div>
                                <div class="businessright"  onclick=' href("<%#Eval("SymbolID")%>","<%#Eval("SymbolTitle")%>","<%#Eval("SymbolDesc")%>","<%#Eval("img")%>");'>
                                    <span><%#Eval("SymbolTitle")%></span>
                                    <span><%#Eval("SymbolDesc")%></span>
                                </div>
                            </h3>                      
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
            <footer data-role="footer" data-position="fixed" id="imagedisplay_footer">
            <div data-role="navbar" id="nav-glyphish-example">
                <ul>
                    <li class="footer_active"><a href="#index" id="site" class="ui-btn-active">
                            <img src="images/01.png" /><br/>商家网站
                        </a></li>
                    <li><a href="#goodlist"id="buy" data-load="goodlist.aspx">
                            <img src="images/Goods_Book_btn.png" /><br/>商品购买
                        </a></li>
                    <li><a href="#membershipcard" data-load="membershipcard.aspx"  id="card">
                            <img src="images/member_card_btn.png" /><br/>会员卡
                        </a></li>
                    <li><a href="#giftlist" data-load="giftlist.aspx" id="convert">
                            <img src="images/exchange_btn.png" /><br/>积分兑换
                        </a></li>
                </ul>
            </div>
        </footer>
          <script>
              function href(id, title, des,img) {
                  localStorage.share_title = title;
                  localStorage.share_desc = des;
                  localStorage.share_id = id;
                  localStorage.share_url = img;
                  window.location.href = "share.aspx?id="+id;

              }

          </script>
          <%--  <script type="text/javascript">
                (function (window, $, PhotoSwipe) {
                    $(document).ready(function () {
                        if ($("#imagedisplay_content a").length > 0) {
                            var options = {};
                            $("#imagedisplay_content a").photoSwipe(options);
                        }
                    });
                } (window, window.jQuery, window.Code.PhotoSwipe));
            </script>--%>
        </section>
    </div>
</body>
</html>

